package org.smartboot.flow.testcase.step;

import org.smartboot.flow.core.EngineContext;
import org.smartboot.flow.core.executable.AbstractExecutable;
import org.springframework.stereotype.Service;

/**
 * @author qinluo
 * @date 2023/2/11 19:16
 * @since 1.0.0
 */
@Service
public class Step9 extends AbstractExecutable<Integer, Integer> {

    @Override
    public void execute(EngineContext<Integer, Integer> ctx) {
        ctx.setResult(ctx.getReq() * ctx.getReq());
    }
}
